﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using nvn.Core.MVP;
using Hutech.CRM.Library.Presenters;
using Hutech.CRM.Library.Models.Entities;
using nvn.Library.Patterns;

namespace Hutech.CRM.Library.Views
{
    public static class CreateObjectListCustomerView
    {
        public static void InitView(this IListCustomerView view)
        {
            ListCustomerPresenter presenter = new ListCustomerPresenter(view);
        }
    }

    public interface IListCustomerView : IPager
    {
        #region properties

        List<AccountCustomer> AccountCustomers {  set; }
        Guid DataTranfer { get; set; }
        bool Refresh { set; }

        int EditItemIndex { set; }

        event EventHandler<OneParameterEventAgrs<SearchEntity>> Search_click;
        event EventHandler<ItemCommandArgs<AccountCustomer>> AccountCustomer_ItemCommand;
        event EventHandler<ItemDataBoundArgs> AccountCustomer_ItemDataBound;
        #endregion
        //void RedirectTo(string value);
    }

}
